import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import locale from 'element-plus/es/locale/lang/zh-cn' // 中文语言

import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/display.css'
import scui from './scui'
import router from './router'
import store from './store'
import App from './App.vue'

const app = createApp(App)

app.use(store)
app.use(router)
app.use(ElementPlus, { locale: locale })
app.use(scui)

//挂载app
app.mount('#app')
console.log('%c 🚀 启动成功 🚀', 'color:#fff;background:#42b983;padding:2px 4px;border-radius:5px;')
